﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SetUserControlsExample.aspx.cs" Inherits="StupidGrid.Example.SetUserControlsExample" %>

<%@ Register Assembly="StupidGrid" Namespace="StupidGrid" TagPrefix="sg" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>SetUserControls Example</title>
</head>
<body>
    <form id="form1" runat="server">
        <table>
            <tr>
                <th>Address</th>
                <th>City</th>
                <th>State</th>
                <th>Del</th>
            </tr>
            <sg:StupidGrid ID="stupidgrid_address" WrapFooterInTableRow="true" UserControlPath="~/address.ascx" runat="server" />
        </table>
        
        <asp:Button ID="btn_view" Text="View Data" runat="server" />
    </form>
    
    <hr />

    <asp:Literal ID="lit_results" runat="server" />
</body>
</html>
